package com.wz.project.cxtj.viewOutHistory.mapper;

import com.wz.project.cxtj.viewOutHistory.domain.ViewOutHistory;

import java.util.List;

/**
 * 出库单据历史Mapper接口
 * 
 * @author wz
 * @date 2022-05-18
 */
public interface ViewOutHistoryMapper 
{
    /**
     * 查询出库单据历史
     * 
     * @param stockoutDetailId 出库单据历史ID
     * @return 出库单据历史
     */
    public ViewOutHistory selectViewOutHistoryById(String stockoutDetailId);

    /**
     * 查询出库单据历史列表
     * 
     * @param viewOutHistory 出库单据历史
     * @return 出库单据历史集合
     */
    public List<ViewOutHistory> selectViewOutHistoryList(ViewOutHistory viewOutHistory);

    /**
     * 新增出库单据历史
     * 
     * @param viewOutHistory 出库单据历史
     * @return 结果
     */
    public int insertViewOutHistory(ViewOutHistory viewOutHistory);

    /**
     * 修改出库单据历史
     * 
     * @param viewOutHistory 出库单据历史
     * @return 结果
     */
    public int updateViewOutHistory(ViewOutHistory viewOutHistory);

    /**
     * 删除出库单据历史
     * 
     * @param stockoutDetailId 出库单据历史ID
     * @return 结果
     */
    public int deleteViewOutHistoryById(String stockoutDetailId);

    /**
     * 批量删除出库单据历史
     * 
     * @param stockoutDetailIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteViewOutHistoryByIds(String[] stockoutDetailIds);
}
